[NTG-context] Re: Square right aligned

2024-02-09 Thread Ursula Hermann
Dear Otared and Dear Hraban, So this is my little example: works perfect, after our correspondence. \starttext \startalignment[normal] \margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).} \par {\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die

[NTG-context] Re: Square right aligned

2024-02-08 Thread Ursula Hermann
zungen machen Sie sich die Bedeutung der beiden Aussagen klar.\startalignment[right]\square\stopalignment}\stoptext} There should be a sign like this □ at the end of the proof. Uschi ___ If your question is of in

[NTG-context] Re: Square right aligned

2024-02-08 Thread Otared Kavian
} > {\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).} > \par > {\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die > Aus-\par > sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen > machen Sie sich die Bedeutung der beiden Aussagen > kla

[NTG-context] Re: Square right aligned

2024-02-08 Thread Henning Hraban Ramm
Am 08.02.24 um 12:23 schrieb Ursula Hermann: Dear List, I am at Home  and have the following example.: klar.\startalignment[right]\square\stopalignment}\stoptext} There should be a sign like this □ at the end of the proof. What’s your problem – is the square missing? Then there’s probably

[NTG-context] Square right aligned

2024-02-08 Thread Ursula Hermann
Voraussetzungen machen Sie sich die Bedeutung der beiden Aussagen klar.\startalignment[right]\square\stopalignment}\stoptext} There should be a sign like this □ at the end of the proof. Uschi ___ If your question

[NTG-context] XML, multiple spaces encoded as %20 get merged into one space

2023-09-06 Thread denis.maier
[\xmlfilter{#1}{./url('xlink:href')}] \stopxmlsetups \startxmlsetups xml:link https://uv-v4.netlify.app/\#?manifest=\xmlfilter{#1}{./url('xlink:href')} \stopxmlsetups \startxmlsetups xml:fig \startplacefigure[title=Test] \startalignment[center

[NTG-context] Perceptrons

2022-10-16 Thread Thangalin via ntg-context
ons scaled SCALE; \stopuseMPgraphic \startuseMPgraphic{HexGridBgGraphic} % Define the grid background colour color gridback; gridback := (0.15, 0.18, 0.24); fill unitsquare xyscaled (OverlayWidth, OverlayHeight) withcolor gridback; \stopuseMPgraphic \defineoverlay[HexGri

Re: [NTG-context] Problem loading font in LMTX

2022-06-11 Thread Stefan Nedeljkovic via ntg-context
e: > > > > \starttypescript [lidia] > > \definetypeface[lidia][rm][serif][lidiaweb][cpsp=yes] > > \stoptypescript > > \setupbodyfont[lidia,36pt] > > \starttext > > \startTEXpage[align=normal,width=100cm,autowidth=force,offset=0pt] > > \startalignment[midd

Re: [NTG-context] Problem loading font in LMTX

2022-06-11 Thread Wolfgang Schuster via ntg-context
,offset=0pt] \startalignment[middle] 2{\hskip 0em}412{\hskip 0em}772 {\hskip 0em}КУЋНА {\hskip 0em}БРОЈА\\ {\vskip 2em}ИЗ {\hskip 0em}БАЗЕ {\hskip 0em}РЕПУБЛИЧКОГ {\hskip 0em}ГЕОДЕТСКОГ {\hskip 0em}ЗАВОДА\\ {\vskip 2em}У {\hskip 0em}ПРОЈЕКЦИЈИ {\hskip 0em}epsg{\hskip 0em}:{\hskip 0em}32634 {\hskip

[NTG-context] Problem loading font in LMTX

2022-06-11 Thread Stefan Nedeljkovic via ntg-context
Dear list, I have the following file: \starttypescript [lidia] \definetypeface[lidia][rm][serif][lidiaweb][cpsp=yes] \stoptypescript \setupbodyfont[lidia,36pt] \starttext \startTEXpage[align=normal,width=100cm,autowidth=force,offset=0pt] \startalignment[middle] 2{\hskip 0em}412{\hskip 0em}772

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread śrīrāma via ntg-context
upTABLE[column][12][alignmentcharacter={.},aligncharacter=yes,align=flushright] \stopsetups \switchtobodyfont[6pt] \startalignment[middle] \bTABLE[setups=maintable,option=stretch,split=repeat] \bTABLEhead \bTR[bottomframe=on, rulethickness=2pt,offset=0.25pt] \bTH\bf Рб \eTH \bTH\bf Шифра артикла \eTH \bTH\bf Назив ар

[NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread Stefan Nedeljkovic via ntg-context
][alignmentcharacter={.},aligncharacter=yes,align=flushright] \stopsetups \switchtobodyfont[6pt] \startalignment[middle] \bTABLE[setups=maintable,option=stretch,split=yes,header=repeat] \bTR[bottomframe=on, rulethickness=2pt,offset=0.25pt] \bTD\bf Рб \eTD \bTD\bf Шифра артикла \eTD \bTD\bf Назив артикла \eTD \bTD\bf

Re: [NTG-context] Makeup on same page as main content

2022-03-05 Thread śrīrāma via ntg-context
ult}] \setvariables [assignments] [set={\setups[assignments:set]}] \startsetups assignments:set \writestatus{variables}{assignments:set is being called..} \startalignment[middle] \bTABLE[frame=off] \setupTABLE[c][1][align=flushleft,style=bold,distance=2cm] \setupTABLE[c][2][al

Re: [NTG-context] Get Current Section Number

2022-01-09 Thread Wolfgang Schuster via ntg-context
number in order to set up the conditional? Can you show a example of your document, maybe there is a better way to produce the desired result. \startsetups [document:start]     \startalignment[middle]     {\ssd\documentparameter{title}}     \stopalignment \stopsetups \setuphead [chapter

Re: [NTG-context] upload

2021-12-25 Thread Hans Hagen via ntg-context
an error here on my end. exit codes more reliable The example I posted on 2021-12-15 still returns success when it should fail. So regarding the exit codes I see no change here. \enabledirectives [logs.errors] \starttext %% ### semi simple group … entered at line \startalignment [middle] foo

Re: [NTG-context] About "clearpage"

2021-12-16 Thread Wolfgang Schuster via ntg-context
MANUEL GONZALEZ SUAREZ via ntg-context schrieb am 16.12.2021 um 20:15: Hi all: In the example below: [...] \newdimen\Margin \Margin=2cm \newdimen\MarginRaise \MarginRaise=56ex [...] \startsetups[text a] \raise\MarginRaise\hbox{\vtop{\hsize=\Margin% \startalignment[right] \getmarking[chapter

[NTG-context] About "clearpage"

2021-12-16 Thread MANUEL GONZALEZ SUAREZ via ntg-context
] \startsetups[text a] \raise\MarginRaise\hbox{\vtop{\hsize=\Margin% \startalignment[right] \getmarking[chapter] \stopalignment }} \stopsetups \startsetups[text b] \raise\MarginRaise\hbox{\vtop{\hsize=\Margin% \startalignment[left] \getmarking[section] \stopalignment }} \stopsetups

Re: [NTG-context] Errors in source files return success

2021-12-15 Thread Hans Hagen via ntg-context
rn success. %% enables logging of errors same as --errors \enabledirectives [logs.errors] \starttext %% ### semi simple group … entered at line \startalignment [middle] foo \stoptext You can check in the next upload: - The 'failure' that you saw was actually a real lua error because I hadn't ad

Re: [NTG-context] Errors in source files return success

2021-12-15 Thread Marco Patzer via ntg-context
s --errors \enabledirectives [logs.errors] \starttext %% ### semi simple group … entered at line \startalignment [middle] foo \stoptext Marco ___ If your question is of interest to others as well, please add an entry to

[NTG-context] adjusting vertical space

2021-11-24 Thread jbf via ntg-context
[top=] \startalignment[middle] \definedfont[name:SemplicitaPro-Medium.ttf*default at 34pt] \color[gray]{A JOURNEY} \definedfont[name:baskerville-italic.ttf*default at 26pt] \color[gray]{from the} \definedfont[name:SemplicitaPro-Medium.ttf*default at 34pt] \color[gray]{BEGINNING} \stopalignment

[NTG-context] Errors in source files return success

2021-11-18 Thread Marco Patzer via ntg-context
… entered at line \startalignment [middle] foo %% missing references See \in{section}[sec:none]. %% undefined control sequence %% \undefined \stoptext Marco ___ If your question is of interest to others as well, please

[NTG-context] Space before/after combinations + centring

2021-11-17 Thread Marco Patzer via ntg-context
: \unprotect \unexpanded\def\startcombination {\blank[halfline]%% \startalignment[middle]%% \dontleavehmode \bgroup \pack_combinations_push \dodoubleempty\pack_combinations_start} \unexpanded\def\stopcombination {\bgroup\normalexpanded{\egroup{}\ntimes{{}{}}\c_pack_combinations_y}% brr

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
preface with a quote %%% \startsetups SectionLHSPageSetup \page[left] \setupheader[state=empty] \start \startalignment[left,nothyphenated] \startnarrower[4*left] \tf\it \stopsetups \definestartstop [SectionLHSPage] [ before={\setups{SectionLHSPageSetup}}, after={\stopnarrower

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-25 Thread Bruce Horrocks via ntg-context
gt;header=empty, >footer=chpaterfooter, >sectionsegments=chapter, >before={\setups[chapter:before]}, >after={\setups[chapter:after]}] > > \startsetups chapter:before > \page[left] > \noheaderandfooterlines > \startalignment[left,nothyphen

Re: [NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Wolfgang Schuster via ntg-context
    \startalignment[flushright,nothyphenated]     \startnarrower[4*left]     \em \getbuffer[chapter:quote]     \stopnarrower     \stopalignment     \page[right] \stopsetups \starttext \startbuffer [chapter:quote] If you think good architecture is expensive, try bad architecture\crlf {\tf Brian Foote

[NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Gerben Wierda via ntg-context
[chapter] [page=, header=empty, footer=chpaterfooter, sectionsegments=chapter, before={\setups[chapter:before]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
, header=empty, footer=chpaterfooter, sectionsegments=chapter, before={\setups[chapter:before]}, after={\setups[chapter:after]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
> \startsetups chapter:before > \page[left] > \noheaderandfooterlines > \startalignment[left,nothyphenated] > \startnarrower[4*left] > \em \getbuffer[chapter:quote] > \stopnarrower > \stopalignment > \resetsetups[quote:text] >

[NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
=doublesided] \setuppagenumbering[alternative=doublesided] \setuphead[chapter] [page=, sectionsegments=chapter, before={\setups[chapter:before]}, after={\setups[chapter:after]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated

Re: [NTG-context] Progressively encouraging page/column breaks at \blank with penalties

2021-08-15 Thread Joey McCollum via ntg-context
d of the page or column. Based on these constraints, I thought > > that using the "samepage" and "preference" options for the first and > second > > line breaks would work nicely: > > > > ``` > > \define\SectionBreak{% > > \blank[halfline, sam

Re: [NTG-context] Progressively encouraging page/column breaks at \blank with penalties

2021-08-14 Thread Aditya Mahajan via ntg-context
\blank[halfline, samepage]% non-breaking to ensure that no column > begins with the section break symbol > \startalignment[middle]% > {X}% section break symbol > \stopalignment% > \blank[halfline, preference]% this can (and, if possible, should) be > broken

[NTG-context] Progressively encouraging page/column breaks at \blank with penalties

2021-08-14 Thread Joey McCollum via ntg-context
that using the "samepage" and "preference" options for the first and second line breaks would work nicely: ``` \define\SectionBreak{% \blank[halfline, samepage]% non-breaking to ensure that no column begins with the section break symbol \startalignment[middle]%

Re: [NTG-context] another MetaPost question (this time on ConTeXt->MetaPost color transfer)

2021-07-22 Thread Rudd, Kevin
ed fill t withcolor p % new (and old) draw s withpen pencircle scaled 5pt withcolor c; enddef; \stopMPdefinitions \starttext \definespotcolor[Thin:orange][orange][p=1,a=normal,t=0.5] \color[orange]{hello} \startalignment[center]

[NTG-context] another MetaPost question (this time on ConTeXt->MetaPost

2021-07-22 Thread Rudd, Kevin
draw s withpen pencircle scaled 5pt withcolor c; enddef; \stopMPdefinitions \starttext \definespotcolor[Thin:orange][orange][p=1,a=normal,t=0.5] \color[orange]{hello} \startalignment[center] \startplacefigure \startMPcode Test [ prefix = "Thin", color = &q

[NTG-context] MP keyword function: string parameters no longer accept string variables directly

2021-07-21 Thread Rudd, Kevin
1 int: english/english \startMPdefinitions presetparameters "parameters_Test" [ ] def Test = applyparameters "parameters_Test" "do_Test" enddef; def do_Test = pushparameters "parameters_Test"; show hasparameter "color&

[NTG-context] MP boxes: boxjoin not recognized?

2021-07-21 Thread Rudd, Kevin
ter the expression that is shown above this % error message, so I guess I'll just ignore it and carry on. % metafun > log > % metapost> trace >); boxit.a("a"); boxit.bb("bb"); boxit.ccc("ccc"); drawboxed(a,bb,ccc); ; % metapost>

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-24 Thread Eduardo Bohoyo
[backspace=176pt,width=194pt] \setupinterlinespace[line=22pt] \style[tfa] \startalignment[hanging,flushleft,nothyphenated] \placeinitial Ahora, vosotros que amáis, dejadme que os formule una pregunta: ¿quién sufre más por  ello,  Arcite  o  Palamón? ¿El  que  ve  a  su  dama  diariamente,  pero  está

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-23 Thread Hans Hagen
works fine as long as it stays within the general layout. This is the code I'm referring to: \startmakeup[standard][doublesided=yes] \setuplayout[backspace=176pt,width=194pt] \setupinterlinespace[line=22pt] \style[tfa] \startalignment[hanging,flushleft,nothyphenated] \placeinitial Ahora

[NTG-context] Special layouts don't recognise placeinitial

2021-05-22 Thread Eduardo Bohoyo
the general layout. This is the code I'm referring to: \startmakeup[standard][doublesided=yes] \setuplayout[backspace=176pt,width=194pt] \setupinterlinespace[line=22pt] \style[tfa] \startalignment[hanging,flushleft,nothyphenated] \placeinitial Ahora, vosotros que amáis, dejadme que os formule una

[NTG-context] Multiple Layouts

2021-03-13 Thread Jeroen
. \crlf Eerste draft versie, gepubliceerd op \date. \crlf Dit document is getypset met \CONTEXT\ LMTX op Microsoft Windows 10. \blank \startalignment[flushmiddle] Copyright \copyright\ 2021, Publisher. Alle rechten voorbehouden. \crlf Niets uit deze uitgave mag worden verveelvoudigd, opgeslagen

[NTG-context] (no subject)

2021-03-13 Thread Jeroen
. \crlf Eerste draft versie, gepubliceerd op \date. \crlf Dit document is getypset met \CONTEXT\ LMTX op Microsoft Windows 10. \blank \startalignment[flushmiddle] Copyright \copyright\ 2021, Publisher. Alle rechten voorbehouden. \crlf Niets uit deze uitgave mag worden verveelvoudigd, opgeslagen

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread jbf
. The problem, you see, is that \startalignment only offers a few key words like flushleft, middle etc. and not what I need this time, which is a precise indentation feature like .5cm. I suppose my real problem is not being sufficiently au fait with how definitions work. I just can't seem to get

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread Wolfgang Schuster
jbf schrieb am 11.03.2021 um 23:22: Thanks for trying, Bruce. That earlier question you refer to was for a similar situation and the answer resolved that one at the time (it was my question even then!) but not the precise one I am facing now. The problem, you see, is that \startalignment only

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread Bruce Horrocks
The problem, you see, is that \startalignment only offers a few key words > like flushleft, middle etc. and not what I need this time, which is a precise > indentation feature like .5cm. I suppose my real problem is not being > sufficiently au fait with how definitions work. I just can't seem to get

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread jbf
Thanks for trying, Bruce. That earlier question you refer to was for a similar situation and the answer resolved that one at the time (it was my question even then!) but not the precise one I am facing now. The problem, you see, is that \startalignment only offers a few key words like

Re: [NTG-context] lmtx update / teaser

2021-03-01 Thread Hans Hagen
On 3/1/2021 6:27 PM, Otared Kavian wrote: Hi Hans, Thank you for the new upload. The teaser examples work fine, many thanks ! I have a question though: how can one center within a page a text, for example typeset in a circular shape? I tried with \startalignment, and also

Re: [NTG-context] lmtx update / teaser

2021-03-01 Thread Otared Kavian
Hi Hans, Thank you for the new upload. The teaser examples work fine, many thanks ! I have a question though: how can one center within a page a text, for example typeset in a circular shape? I tried with \startalignment, and also with \startplacefigure but none of these gives a centered

Re: [NTG-context] Centered list of authors in ToC

2021-02-09 Thread jbf
Thanks for the alternative. Also gives me further ideas, especially regarding placement of the \startalignment Julian On 10/2/21 8:11 am, Hans Hagen wrote: On 2/9/2021 9:50 PM, jbf wrote: Resolved! \define[1]\SectionTocEntry{% #1\crlf% title \startalignment[middle]\doifnot

Re: [NTG-context] Centered list of authors in ToC

2021-02-09 Thread Hans Hagen
On 2/9/2021 9:50 PM, jbf wrote: Resolved! \define[1]\SectionTocEntry{% #1\crlf% title \startalignment[middle]\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}% \stopalignment} You need to move the \startalignment into the test (you don't want en empty one

Re: [NTG-context] Centered list of authors in ToC

2021-02-09 Thread jbf
Resolved! \define[1]\SectionTocEntry{% #1\crlf% title \startalignment[middle]\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}% \stopalignment} Julian On 9/2/21 9:02 pm, mf wrote: Il 09/02/21 10:49, jbf ha scritto: I wonder if someone can assist me

Re: [NTG-context] Centered list of authors in ToC

2021-02-09 Thread jbf
Thank you. Ci siamo quasi, ma non del tutto! Nearly there! The \midaligned{... } was obviously preventing the \crlf in the \startchapter from working. Removing it altogether allowed the split to occur but obviously not centred. So i have tried now adding the \startalignment[middle

Re: [NTG-context] Centered list of authors in ToC

2021-02-09 Thread mf
for the essential bit (which is then called in as textcommand=\SectionTocEntry in \setuplist[chapter], obviously): \define[1]\SectionTocEntry{% #1\crlf% title \midaligned{\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}}% } try \startalignment[middle

Re: [NTG-context] LMTX MkIV difference in expansion

2020-11-19 Thread Rik Kabel
On 11/19/2020 17:03, Hans Hagen wrote: On 11/19/2020 9:41 PM, Wolfgang Schuster wrote: Rik Kabel schrieb am 19.11.2020 um 21:20: Another LMTX/MkIV difference, this time with expansion:     \define\Align{yes}     \starttext     \startalignment[\Align]     This works with MkIV but fails

Re: [NTG-context] LMTX MkIV difference in expansion

2020-11-19 Thread Hans Hagen
On 11/19/2020 9:41 PM, Wolfgang Schuster wrote: Rik Kabel schrieb am 19.11.2020 um 21:20: Another LMTX/MkIV difference, this time with expansion:     \define\Align{yes}     \starttext     \startalignment[\Align]     This works with MkIV but fails with LMTX, complaining: {\tt     tex

Re: [NTG-context] LMTX MkIV difference in expansion

2020-11-19 Thread Wolfgang Schuster
Rik Kabel schrieb am 19.11.2020 um 21:20: Another LMTX/MkIV difference, this time with expansion: \define\Align{yes} \starttext \startalignment[\Align]     This works with MkIV but fails with LMTX, complaining: {\tt     tex error on line 3 in file G:/expand.mkvi: The file

[NTG-context] LMTX MkIV difference in expansion

2020-11-19 Thread Rik Kabel
Another LMTX/MkIV difference, this time with expansion: \define\Align{yes} \starttext \startalignment[\Align]     This works with MkIV but fails with LMTX, complaining: {\tt     tex error on line 3 in file G:/expand.mkvi: The file ended     when scanning an argument

[NTG-context] \framed command: (strange ?) difficulty to control the interlinespace between the first and the second line

2020-11-16 Thread Garulfo
,offset=0pt,frame=off,foregroundcolor=darkred] {\WORD\tfb Ce titre est trop long pour ce Ce titre est trop long pour ce Ce titre est trop long pour ce Ce titre est trop long pour ce} \blank[big] \startalignment[flushleft] {\WORD\tfb Ce titre est trop long pour ce Ce titre est trop long pour ce Ce titre

Re: [NTG-context] Split Table, don't repeat caption

2020-10-08 Thread Denis Maier
to the last caption. Ideally, the footnote should be attached to the first caption. (And, actually, I want the caption only once.) Ok, I've found a solution: ``` \setupcaption[table][location=top] \starttext \startplacetable[location={none,split}]     \startalignment[middle

Re: [NTG-context] strange behavior with \groupedcommand in recent versions of LMTX

2020-09-02 Thread mf
right{\box\nextbox}% > \par >\else > \par > \penalty1 > \startalignment[flushright]\unhbox\nextbox\stopalignment >\fi}\hbox} > > \starttext > >\input ward \whatever{same line, right} >

Re: [NTG-context] strange behavior with \groupedcommand in recent versions of LMTX

2020-09-01 Thread Hans Hagen
lse     \par\penalty1     \startalignment[flushright]\unhbox\scratchbox\stopalignment   \fi}} \unexpanded\def\wordorparagraphright#1{%   \setbox\scratchbox\hbox{#1}   \ifdim\wd\scratchbox < \hsize     \wordright{#1}   \else     \par\penalty1     \startalignment[flushright]\

[NTG-context] strange behavior with \groupedcommand in recent versions of LMTX

2020-09-01 Thread mf
. \unexpanded\def\groupedwordorparagraphright{\dosingleempty\dogroupedwordorparagraphright} \def\dogroupedwordorparagraphright[#1]{\groupedcommand{\setbox\scratchbox\hbox\bgroup} {\egroup\ifdim\wd\scratchbox < \hsize \wordright{\unhbox\scratchbox} \else \par\penalty1 \startalignm

[NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Nicola
] \definestructureconversionset[bodypart:pagenumber] [][numbers] \starttext \startfrontmatter \page[even] \startalignment[bottom,flushright] Copyright © 2020 Author \stopalignment \start \setuphead[chapter][after={}] \completecontent \stop \page[odd] \startchapter[title={Preface}]\input{knuth}\stopchapter

[NTG-context] Pagenumbering with \setupcounter[userpagenumber]

2020-07-29 Thread Willi Egger
[.2\textheight] \rightaligned{Bramble-Bees} \stopstandardmakeup \startstandardmakeup[doublesided=yes,page=yes] \strut \godown[.1\textheight] \startalignment[middle] {\bfb BRAMBLE-BEES AND OTHER} \blank[line] {\bfa by J. HENRI FABRE} \stopalignment \vfill

[NTG-context] [rotate question]

2020-05-01 Thread Floris van Manen
{% \rotate[rotation=\ctxlua{context(math.random(-15,-1))}]{\|}% } \def\stapA#1{\dorecurse{#1}{\streepA}} \def\stapB#1{\dorecurse{#1}{\streepB}} \starttext \startTEXpage[offset=20mm, width=297mm] \startalignment[width]~ \dorecurse{50}{\stapA{10}\stapB{10}} \stopalignment \stopTEXpage \stoptext

Re: [NTG-context] Moving horizontally a whole ensemble of layers in the same run?

2019-12-18 Thread Rudolf Bahr
w][width=.5\textwidth]} \setlayer[LAY][x=\dimexpr.65\textwidth+40pt\relax,y=0pt]% {% \vbox {% \hsize=.2\textwidth \startalignment[flushleft] \input ward \vskip\lineheight \input ward \stopalignment } } \flush

Re: [NTG-context] changing alignment inside a paragraph

2019-12-12 Thread mf
Il 11/12/19 21:25, Wolfgang Schuster ha scritto: \starttext \startbuffer This is the text of an index term, that is normally justified, but I'd like the page numbers to be flushed to the right from their second line\par \startalignment[flushright] \ifdim\dimexpr\hsize-\lastlinewidth\relax&g

Re: [NTG-context] changing alignment inside a paragraph

2019-12-11 Thread Wolfgang Schuster
\PagesIndentation \PagesIndentation=#4 \newdimen\MSLLL \MSLLL=#6 % minimum space left on last line \parshape 1 0pt \TextWidth #1\par \newdimen\LLW \LLW=\lastlinewidth \page[no] \ifdim \dimexpr\TextWidth-\LLW-\SBPN > \MSLLL \blank[-\the\lineheight,fixed]\fi \startalignment[flushright,stretch] \ifdim \dime

Re: [NTG-context] changing alignment inside a paragraph

2019-12-11 Thread mf
\MSLLL \MSLLL=#6 % minimum space left on last line \parshape 1 0pt \TextWidth #1\par \newdimen\LLW \LLW=\lastlinewidth \page[no] \ifdim \dimexpr\TextWidth-\LLW-\SBPN > \MSLLL \blank[-\the\lineheight,fixed]\fi \startalignment[flushright,stretch] \ifdim \dimexpr\TextWidth-\LLW-\SBPN > \MSLLL \pars

Re: [NTG-context] changing alignment inside a paragraph

2019-12-10 Thread Wolfgang Schuster
, but I'd like the page numbers to be flushed to the right from their second line 34, 57,\par \penalty1 % no page break in the middle of page numbers \startalignment[flushright] 101-104, 276, 345, 401-403.\par \stopalignment \stopnarrower \stoptext The expected result is to be intended visually

[NTG-context] changing alignment inside a paragraph

2019-12-10 Thread mf
to be flushed to the right from their second line 34, 57,\par \penalty1 % no page break in the middle of page numbers \startalignment[flushright] 101-104, 276, 345, 401-403.\par \stopalignment \stopnarrower \stoptext The expected result is to be intended visually, because there might be no need to break

[NTG-context] Questions regarding project structure

2019-05-15 Thread Denis Maier
``` - test_prod.tex ``` \startproduct * \project test \startalignment[middle] HEY \stopalignment \component test_comp \stopproduct ``` - test_comp.tex ``` \startcomponent * \product test_prod % \project test_project % uncomment this to use the \section{Test} \input ward \stopcomponent ``` >F

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Wolfgang Schuster
][sample] \stoptext or when you want to change the alignment only for a part of your document \starttext \startalignment[r2l] \processdatabasebuffer[interlineartext][sample] \stopalignment \stoptext There is no command which changes the order of words in a sentence but this should be easy

Re: [NTG-context] Align the chapter-title to the middle of the header

2018-07-23 Thread Pablo Rodriguez
On 07/23/2018 03:59 PM, Huseyin Özoguz wrote: > Dear list, > > how can I align the text of the header in the double-page layout to the > middle? > > I want something like that: > > \setupheadertexts > [{\startalignment[middle] \definedfont[name:Gentium_Basic at

Re: [NTG-context] Align the chapter-title to the middle of the header

2018-07-23 Thread Aditya Mahajan
On Mon, 23 Jul 2018, Huseyin Özoguz wrote: Dear list, how can I align the text of the header in the double-page layout to the middle? I want something like that: \setupheadertexts [{\startalignment[middle] \definedfont[name:Gentium_Basic at 9pt]\getmarking[chapter] \stopalignment

[NTG-context] Align the chapter-title to the middle of the header

2018-07-23 Thread Huseyin Özoguz
Dear list, how can I align the text of the header in the double-page layout to the middle? I want something like that: \setupheadertexts [{\startalignment[middle] \definedfont[name:Gentium_Basic at 9pt]\getmarking[chapter] \stopalignment}][] [][] Of course, that does not work. By default

Re: [NTG-context] TABLE: centering splitted TABLE

2018-06-21 Thread Wolfgang Schuster
t[page] \starttext \startalignment[middle] \dontleavehmode \bTABLE[before=,after=,inbetween=] \bTABLEbody \dorecurse{10}{ \bTR \bTD aaa\eTD \bTD bbb\eTD

Re: [NTG-context] TABLE: centering splitted TABLE

2018-06-21 Thread Procházka Lukáš Ing .
Hello, thanks, it works: \startalignment[middle] \startplacetable[location={split,force,none}] \bTABLE[split=repeat] \bTABLEhead \bTR\bTH A\eTH\bTH B\eTH\eTR \eTABLEhead \bTABLEbody \dorecurse{60}{ \bTR \bTD

Re: [NTG-context] TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs

2018-06-20 Thread Aditya Mahajan
On Sat, 9 Jun 2018, Procházka Lukáš Ing. wrote: Hello, I have two questions about TABLEs. Suppose having the following code: \setuplayout[page] \starttext \startalignment[middle

[NTG-context] TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs

2018-06-09 Thread Procházka Lukáš Ing .
Hello, I have two questions about TABLEs. Suppose having the following code: \setuplayout[page] \starttext \startalignment[middle] \dontleavehmode \bTABLE[before=,after

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
ligned one. > > So i wrote this: > > --- > \def\wordorparagraphright#1{\let\scratchWidth\relax > \setbox\scratchbox=\hbox{#1}\newdimen\scratchWidth > \scratchWidth=\wd\scratchbox > \ifdim\scratchWidth < 0.9\textwidth > \wordright{#1}% > \else >

Re: [NTG-context] registers: how can I place a command around the whole of the page numbers of an index term?

2018-05-10 Thread MF
par \startalignment[flushright]#1\stopalignment \fi} \starttext \input sapolsky \wordorparagraphright{\it other text} \par \blank \input sapolsky \wordorparagraphright{\it other text, this time longer} \par \blank \input sapolsky \wordorparagraphright{\it other text, this time much much much much m

[NTG-context] Disable overlay on chapter pages

2017-08-02 Thread Mikael P. Sundqvist
... \setuppagenumbering[alternative=doublesided] \defineoverlay[mymargin][{\framed[frame=off,width=0.8in,height=0.8\textheight,offset=overlay,align={top}]{\doifrightpageelse{{\startalignment[flushleft]\getmarking[chapter]\stopalignment}}{{\startalignment[flushright]\getmarking[section]\stopalignment

Re: [NTG-context] typesetting serial letters in Context

2017-06-15 Thread r . ermers
setups xml:contacts:contact \setlayer[module][][]{\externalfigure[\xmltext{#1}{/courselevel}][factor=550]} \startalignment [middle] \color[red]{{\tfd \xmltext{#1}{/initials}} {\tfd \xmltext{#1}{/formalname}}\par \blank[10mm] {\ss \xmltext{#1}{/city}, \x

Re: [NTG-context] Question on "back" key in \blank

2017-02-26 Thread Hans Hagen
is also \blank[disable] to disable the next one \starttext Title. \blank[none] \blank[back, -line] %% I’d expect this one to discard the \blank[none] (as if it was not present) \startalignment[broad, flushright, hanging]Right.\stopalignment \stopt

Re: [NTG-context] Question on "back" key in \blank

2017-02-26 Thread josephcanedo
t; > it goes back when there's something to go back there is also \blank[disable] to disable the next one > \starttext > > > > Title. > > \blank[none] > > \blank[back, -line] %% I’d expect this one to discard the \blank[none] > (as if it was not present) >

Re: [NTG-context] Question on "back" key in \blank

2017-02-25 Thread Hans Hagen
the next one \starttext Title. \blank[none] \blank[back, -line] %% I’d expect this one to discard the \blank[none] (as if it was not present) \startalignment[broad, flushright, hanging]Right.\stopalignment \stoptext I’d expect that Title and Right words to be on the same line

[NTG-context] Question on "back" key in \blank

2017-02-25 Thread josephcanedo
Dear list, Sorry if question is trivial but I’d like to use « back » key in \blank to discard a \blank just before. The following MWE illustrates : \starttext Title. \blank[none] \blank[back, -line] %% I’d expect this one to discard the \blank[none] (as if it was not present) \startalignment

Re: [NTG-context] Underful with \startalignment[flushright]

2017-02-21 Thread josephcanedo
Thanks a lot, all, for the hints. Best regards, Joseph De : Hans Hagen Envoyé le :mardi 21 février 2017 13:06 À : mailing list for ConTeXt users Objet :Re: [NTG-context] Underful with \startalignment[flushright] On 2/21/2017 10:45 AM, Henri Menke wrote: > On 02/20/2017 10:59 PM, joseph

Re: [NTG-context] Underful with \startalignment[flushright]

2017-02-21 Thread Hans Hagen
On 2/21/2017 10:45 AM, Henri Menke wrote: On 02/20/2017 10:59 PM, josephcan...@gmail.com wrote: Dear list, Could not find any hint on this list on this (minor) problem. When compiling the following simple MWE : \starttext \startalignment[flushright] Foo. \stopalignment \stoptext I

Re: [NTG-context] Underful with \startalignment[flushright]

2017-02-21 Thread Henri Menke
On 02/20/2017 10:59 PM, josephcan...@gmail.com wrote: > Dear list, > > > > Could not find any hint on this list on this (minor) problem. > > When compiling the following simple MWE : > > > > \starttext > > \startalignment[flushright] >

Re: [NTG-context] Underful with \startalignment[flushright]

2017-02-20 Thread Aditya Mahajan
On Mon, 20 Feb 2017, josephcan...@gmail.com wrote: Dear list, Could not find any hint on this list on this (minor) problem. When compiling the following simple MWE : \starttext \startalignment[flushright] Foo. \stopalignment \stoptext I get an underful hbox message : Underfull \hbox

[NTG-context] Underful with \startalignment[flushright]

2017-02-20 Thread josephcanedo
Dear list, Could not find any hint on this list on this (minor) problem. When compiling the following simple MWE : \starttext \startalignment[flushright] Foo. \stopalignment \stoptext I get an underful hbox message : Underfull \hbox (badness 1) in paragraph at lines 4--5 []\3>mod

Re: [NTG-context] LineSpacing Issue in Arabic Fonts

2017-02-20 Thread Ibn Saeed
ef\TextNormal{\switchtobodyfont[Arabic-Regular, rm, 24pt]} > > \def\TextSmall{\switchtobodyfont[Arabic-Regular, rm, 18pt]} > > \def\TextSmaller{\switchtobodyfont[Arabic-Regular, rm, 14pt]} > > \def\TextSmallSans{\switchtobodyfont[Arabic-Regular, ss, 12pt]} > > >

Re: [NTG-context] LineSpacing Issue in Arabic Fonts

2017-02-19 Thread Otared Kavian
[ > header=empty, > alternative=middle, > page=right, > grid=max, > number=no, > numbercommand=\groupedcommand{}{\blank[2*big]}, > after={\blank[2*medium]}, > ] > > > > > \starttext > \startfrontmatter > > \startstandardmakeup[ > align=r2l, > doub

[NTG-context] LineSpacing Issue in Arabic Fonts

2017-02-19 Thread Ibn Saeed
, number=no, numbercommand=\groupedcommand{}{\blank[2*big]}, after={\blank[2*medium]}, ] \starttext \startfrontmatter \startstandardmakeup[ align=r2l, doublesided=no, headerstate=none] \startalignment[middle] \blank[11*small] {\switchtobodyfont[62pt] فتح القوي المتين}\par \blank[7

[NTG-context] How to use \setupitemgroup?

2017-02-04 Thread Csikos Bela
][each][packed,joinedup][n] % or use this: %\setupitemgroup[itemize][each][packed,joinedup][n,stopper=)] \starttext \startalignment[middle] {\tfa PINK FLOYD} {\tfa The Wall} \stopalignment \blank {\bf Compact Disc 1} \startitemize \item In The Flesh? 3:19 \item The Thin Ice 2:29 \item

Re: [NTG-context] Mysterious overfull box

2016-10-22 Thread Henri Menke
Pff, just use \startalignment[flushright,broad]. Sorry for making noise. On 10/22/2016 02:41 PM, Henri Menke wrote: > Dear list, > > I want to typeset a letter head flush right. Therefore I used the > \start...\stopalignment with the option flushright. > > \starttext

[NTG-context] Mysterious overfull box

2016-10-22 Thread Henri Menke
Dear list, I want to typeset a letter head flush right. Therefore I used the \start...\stopalignment with the option flushright. \starttext \startalignment[flushright] Why is this hbox underfull? \stopalignment \stoptext However, this gives me Underfull \hbox (badness 1) in paragraph

[NTG-context] Issue with \blank halfline and title heads

2016-10-16 Thread josephcanedo
] \setuphead[Chapter][number=no, align=center, style=\tf, before={\blank[none]}, after={\blank[none]}, grid=both] \starttext \startalignment[center] \strut E\blank[halfline]A\strut\blank[halfline] \stopalignment Paragraph text. \blank[line] \startChapter[title={\strut E\blank[halfline]A\strut

Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
{% \SlideTitle{#1} \unexpanded\define\TopicTitle{#1} \writetolist[ListOfTopics]{}{#1} } \define\Slide{\SlideTitle{\TopicTitle}} \define[1]\placeListOfTopics{% \SlideTitle{#1} \startalignment[middle] \completelist[ListOfTopics

  1   2   3   4   5   >